<?php
	$TenLienKet = $_POST['TenLienKet'];
	$DiaChiLienKet = $_POST['DiaChiLienKet'];
	
	$lienket = new lienketbs();
	$lienket->TenLienKet = $TenLienKet;
	$lienket->DiaChiLienKet = $DiaChiLienKet;
	
	$kq = $lienket->Add();
	
	if($kq)
		header("Location: lienket");
	else
		ThongBaoLoi("Lỗi truy vấn!");
?>